package com.huilian.iotbox.admin.service;

import com.github.pagehelper.PageInfo;
import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.MoneyWithdrawDto;
import com.huilian.iotbox.data.po.MoneyWithdraw;
import com.huilian.iotbox.data.vo.MoneyWithdrawVo;
import com.huilian.iotbox.data.vo.UserInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/4/8 9:23
 */
public interface MoneyWithdrawService {

    PageInfo findMoneyWithdrawList(MoneyWithdraw moneyWithdraw);

    ServerResponse AddMoneyWithdraw(MoneyWithdrawDto moneyWithdrawDto) throws Exception;

    ServerResponse updateMoneyWithdraw(List<MoneyWithdrawDto> moneyWithdrawDto) throws Exception;

    ServerResponse daiFuBalance(List<MoneyWithdrawDto> moneyWithdrawDto, UserInfo userInfo) throws Exception;


    String daiFuNotice(HttpServletRequest request)  throws Exception;

    Integer updateSignInInvoice(MoneyWithdraw moneyWithdraw);

    MoneyWithdrawVo findMoneyWithdrawStatistics(MoneyWithdraw moneyWithdraw);
}
